package photobox.utils

import org.apache.shiro.crypto.hash.Sha256Hash

/**
 * Created by sxing on 14-10-4.
 */
class PermUtils {
    static def mkPasswordHash(password) {
        if (!password) return null;
        return new Sha256Hash(password).toHex()
    }
}
